<template>
  <div class="school" @click="showName">
    名字：{{name}}，地址：{{address}}
  </div>
</template>

<script>
import { show } from '../minxin.js'
export default {
  name:'School',
  data(){
    return {
    name:"xxx学校",
    address:"china",
  }
  },
  methods: {},
  props:['a','b'],
  mixins:[show]
}
</script>

<style>
  .school {
    background-color: #ccc;
  }
</style>